package com.confinderence.model;

import java.io.Serializable;
import java.util.Date;

public class Lecture implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -6965292482523861613L;
	private long id;
	private String title;
	private String description;
	private Conference conference;
	private int length;
	private Date createDate;
	private Date date;
	private String time;
	private Date lastModified;
	private int status;
	private Lecturer lecturer;

	public Lecture() {

	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}
	public Lecture(String title, String description, Conference conference, int length,
			Date createDate, Date date, String time, Date lastModified, int status,
			Lecturer lecturer) {
		super();
		this.title = title;
		this.description = description;
		this.conference = conference;
		this.length = length;
		this.createDate = createDate;
		this.date = date;
		this.time = time;
		this.lastModified = lastModified;
		this.status = status;
		this.lecturer = lecturer;
	}

	public long getId() {
		return id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Lecturer getLecturer() {
		return lecturer;
	}

	public void setLecturer(Lecturer lecturer) {
		this.lecturer = lecturer;
	}

	public int getLength() {
		return length;
	}

	public void setLength(int length) {
		this.length = length;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public Date getLastModified() {
		return lastModified;
	}

	public void setLastModified(Date lastModified) {
		this.lastModified = lastModified;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}
	public Conference getConference() {
		return conference;
	}

	public void setConference(Conference conference) {
		this.conference = conference;
	}

	@Override
	public String toString() {

		return "Lecture is " + title + " " + description + " " + length;
	}
}
